package xyz.csmcool.imutil.ExceptionHandler;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import xyz.csmcool.imutil.webVo.ResultCode;

/**
 * @author 什锦
 * @Package xyz.csmcool.imutil
 * @since 2022/7/31 14:22
 */

@Data
@NoArgsConstructor
@ToString
@AllArgsConstructor
@Api(tags = "自定义异常类")
public class CommonException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private ResultCode resultCode;
}
